package jh.jianguan.springboot.service;

import com.github.pagehelper.PageInfo;
import jh.jianguan.springboot.model.User;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.List;

/**
 * 方法描述
 * @return
 * @author guoc
 * @date 2020/11/5 16:21
 */
public interface IUserService {

    public User getUser(int id);

    public List<User> getAllUser();

    public PageInfo<User> getAllUserForPage(int pageNo, int pageSize);

    public User getUserAddcache(int id);

    public String getExceptionMsg(String id);

}
